package xyz.sunne.controller;
/**
 * @Author Sunne
 * @Date 2018/8/21/02117:56
 * @Param qccfweb
 * 高山仰止,景行行止.虽不能至,心向往之。
 **/

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 *——————————————————————————女神保佑，永无bug——————————————————————
 *
 *                    .::::.
 *                  .::::::::.
 *                 :::::::::::  FUCK YOU
 *             ..:::::::::::'
 *           '::::::::::::'
 *             .::::::::::
 *        '::::::::::::::..
 *             ..::::::::::::.
 *           ``::::::::::::::::
 *            ::::``:::::::::'        .:::.
 *           ::::'   ':::::'       .::::::::.
 *         .::::'      ::::     .:::::::'::::.
 *        .:::'       :::::  .:::::::::' ':::::.
 *       .::'        :::::.:::::::::'      ':::::.
 *      .::'         ::::::::::::::'         ``::::.
 *  ...:::           ::::::::::::'              ``::.
 * ```` ':.          ':::::::::'                  ::::..
 *                    '.:::::'                    ':'````..
 */
@NoArgsConstructor
@AllArgsConstructor
public enum BaseEnum {
    OK(1,"正常"),
    CAN_USE(-1,"不能用"),
    LOGOUT_OK(2,"注销登录成功"),
    LOGOUT_FAIL(-2,"注销登录失败"),
    SIGN_IN_FAIL(-3,"登录失败"),
    SIGN_IN_SUC(3,"登录成功"),
    SIGN_IN_INPUT_FAIL(-4,"账号或密码错误"),
    SING_IN_INPUT_EMPTY(-5,"账户和密码均不能为空"),
    NOT_SING_IN(-6,"用户未登录或身份异常"),
    NO_USER(-7,"用户不存在"),
    SUCCESS(10,"操作成功"),
    FAIL(-10,"操作失败"),
    IS_DELETE(-11,"被删除"),
    NO_DELETE(11,"未被删除"),
    SYSLOG(1001,"记录系统日志");

    public Integer code;

    public String msg;
}
